package com.atldy.commerce.enums;

/**
 * @version 1.0
 * @Author: lidongyang
 * @CreateTime: 2021-08-07 12:36
 * @Description： gateway缓存请求使用的常量
 */
public class GatewayConstant {

    /**
     * 登录URL
     */
    public static final String LOGIN_URI = "/commerce/login";

    /**
     * 注册URL
     */
    public static final String REGISTER_URI = "/commerce/register";

    /**
     * 去授权中心拿 token URL的格式化接口
     */
    public static final String AUTHORITY_CENTER_TOKEN_URL_FOMAT
            = "http://%s:%s/ecommerce-authority-center/authority/token";

    /**
     * 去授权中心拿 register token URL的格式化接口
     */
    public static final String AUTHORITY_CENTER_REGISTER_URL_FOMAT
            = "http://%s:%s/ecommerce-authority-center/authority/register";

}